<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="queryList" value="${pageContext.request.contextPath}/application/list" />
        
        <div class="iframe-cot pull-right" style="background:#FFFFFF;" id="smIframe">
                 
            	<div class="right-form">
                	<form id="_query_form" action="" class="form-inline" onsubmit="return false;">
                    	<div class="tb_search">
                    		<div class="pull-left">
                    		
	                    		<div class="form-group">
				                    <label for="appName">应用名称：</label>
									<input type="text" id="condictionAppName" name="appName" value="${appName }" />
				               	</div>
								<div class="form-group">
				               		<label for="appCode" class="ml5">应用编码：</label>
									<input type="text" id="appCode" name="appCode" value="${appCode }" />
				               	</div>
               	
                        	</div>
                        </div>
                    </form>
                 </div>
                  
                  <div class="line-e6e"></div>
                  
                  <div class="form-top">
                        <div class="pull-left">
            				<!-- <button class="btn btn-default" onclick="layerOpen('${ctx}/application/add','新增应用')"><i class="fa fa-plus mr5"></i>新增</button>
                           
                            <button class="btn btn-default" onclick="goUpdate('${ctx}/application/edit','修改应用信息')"><i class="fa fa-pencil mr5"></i>编辑</button>
                           
                            <button class="btn btn-default" onclick="deleteBatch('${ctx}/application/delete')"><i class="fa fa-times mr5"></i>删除</button>            
                         -->
                        </div>
                        
                        <div class="pull-right">
                        <shiro:hasPermission name="common-service-app:query">
                        	<a class="btn btn-orange" onclick="changePage('${queryList }/table','#_query_form','1','${pageBean.pageSize }',0,true)"><i class="fa fa-search mr5"></i>查询</a>
                			<a class="btn btn-blue" onclick="clearForm('#_query_form')"><i class="fa fa-trash-o mr5"></i>清空</a>
           				</shiro:hasPermission>
                        </div>
                  </div>
                <div id="table-papination">
                 
                </div>
              </div>
         
          <!--main end--> 
 <script type="text/javascript">
 currentPageNo = parseInt('${pageBean.currentPage}');
 currentPageSize = parseInt('${pageBean.pageSize }');
 totalPageCount = parseInt('${pageBean.totalPage}');
 queryUrl = '${ctx}/application/list';
 //加载表格内容
 $(document).ready(function(){
	 loadConent('${queryList }/table','',true);
 });
 
 </script>